home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16193 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  790 b 

  1. Path: noc.netcom.net!news
  2. From: Sean Palmer <sean@delta.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Is this a memory leak?
  5. Date: Tue, 09 Apr 1996 15:43:02 -0400
  6. Organization: deltaComm Development, Inc.
  7. Message-ID: <316ABDC6.7154@delta.com>
  8. References: <4jv214$gv7@insosf1.netins.net> <4k02v5$tu7@grimsel.zurich.ibm.com> <4k2vku$s82@werple.net.au> <4k39f5$lhn@grimsel.zurich.ibm.com>
  9. NNTP-Posting-Host: landspeeder.delta.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 3.0B2 (Win95; I)
  14.  
  15. > In the real world most, if not all, compilers (I know of no exceptions)
  16. > use the value 0 for a NULL pointer. 
  17.  
  18. C++ (this is comp.lang.c++, no?) defines the integer 0 to be compatible 
  19. with all pointer types, and is essentially NULL.
  20.